<?php $this->_extends('../_layouts/default_layout'); ?>
<?php $this->_block('contents'); ?>
<form action="<?=url('Product::Categories/CreateSave')?>" method="post">
<table class="form_table">
<tr>
	<td>父级</td>
	<td><?=$parent['name']?></td>
</tr>
<tr>
	<td>分类名称</td>
	<td><input type="text" name="name" /></td>	
</tr>
<?php if(Helper_Plu_Number::$status):?>
<tr>
	<td>编号前缀</td>
	<td><input type="text" name="number_prefix" /><span class="red">*</span></td>	
</tr>
<?php endif;?>
<tr>
	<td><input type="hidden" name="parent_id" value="<?=$parent['id']?>" /></td>
	<td><input type="submit" class="button" value="保存" /><input type="hidden" name="<?=Q::ini('unique_token_name');?>" value="<?=Helper_BSS_Normal::genToken();?>"/></td>
</tr>
</table>
</form>
<?php $this->_endblock();?>